package com.thinkgem.jeesite.modules.data.rep.entity;

/**
 * ExportExcelUtil 用到，不使用poi中默认的
 */
public class CellValue {

	public final static int STRING = 0;
	
	public final static int NUMBER = 1;
	
	/**
	 * 居中对齐
	 */
	public final static int CENTER = 0;
	
	/**
	 * 左对齐
	 */
	public final static int LEFT = 1;
	
	/**
	 * 右对齐
	 */
	public final static int RIGHT = 2;
	
	/**
	 * 数据类型
	 */
	private int dataType = STRING;
	
	private boolean isVar = false;
	
	/**
	 * 对齐方式
	 */
	private int alignType = CENTER;
	
	
	/**
	 * 变量名
	 */
	private String valueName = "";

	public int getDataType() {
		return dataType;
	}

	public void setDataType(int dataType) {
		this.dataType = dataType;
	}

	public String getValueName() {
		return valueName;
	}

	public void setValueName(String valueName) {
		this.valueName = valueName;
	}

	public boolean isVar() {
		return isVar;
	}

	public void setVar(boolean isVar) {
		this.isVar = isVar;
	}

	public int getAlignType() {
		return alignType;
	}

	public void setAlignType(int alignType) {
		this.alignType = alignType;
	}
}
